package com.dream.technology.mybatisUtils.config;

import com.dream.technology.mybatisUtils.UpdateTimeInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 描述：
 *
 * @author chen_q_i@163.com
 * 2018/12/12 : 14:22.
 * @version : 1.0
 */
@Configuration
public class MybatisConf {

//    @Bean
//    InsertTimeInterceptor insertTimeInterceptor(){
//        return  new InsertTimeInterceptor();
//    }
     @Bean
     UpdateTimeInterceptor updateTimeInterceptor(){
        return  new UpdateTimeInterceptor();
    }

}
